import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useChannel = defineStore('channel', () => {
  const channelId = ref(-1)
  const setChannelId = (id: number) => {
    channelId.value = id
  }
  return { channelId, setChannelId }
})
